<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of main_menuComponent
 *
 * @author tomislav
 */
class main_menuComponent extends sfComponent
{
    public function execute($request)
    {
        // Get static pages for main menu
        $this->links = Doctrine_Core::getTable('ShopPage')->findByMenu('main_menu');
        
    }
}
?>
